package com.example.websocket_demo.service.message;

import java.util.List;
import java.util.Map;

public interface MessageService {
    public int insertMessage(Map<String, Object> messageMap);
    public int deleteMessage(Integer id);
    public int updateMessage(Map<String, Object> messageMap);
    public List<Map<String,Object>> selectMessage(Map<String, Object> messageMap);
    public List<Map<String,Object>> selectMessageBySidOrRid(Map<String, Object> messageMap);
    public List<Map<String,Object>> selectMessages();
}
